﻿using Jodell.Transport.Ethercat.Esi;
using System;
using System.Collections.Generic;
using System.Numerics;

namespace Jodell.Transport.Ethercat
{
    public class EcSlave
    {
        public string Name { get; set; }
        public IntPtr Inputs { get; set; }
        public IntPtr Outputs { get; set; }
        public UInt32 Manufacturer { get; set; }
        public UInt32 ProductCode { get; set; }
        public UInt32 Revision { get; set; }
        public UInt16 OldCsa { get; set; }
        public UInt16 Csa { get; set; }

        public byte[] Image { get; set; }
        public bool RequestOp { get; set; }
        public UInt32 RequestState { get; set; }
        public int SdoBitSize { get; set; }
        public List<SubItem> RxPdo { get; set; } = new List<SubItem>();
        public List<SubItem> TxPdo { get; set; } = new List<SubItem>();
        public List<SubItem> Sdo { get; set; } = new List<SubItem>();

    }
}
